﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace MarginTrading.Entity
{
    public class InitialSettlement
    {
        #region public methods
        /// <summary>
        /// default constructor of Advisor. 
        /// </summary>
        public InitialSettlement()
        {
            this.ClientCode = string.Empty;
            this.AddedDate = DateTime.MinValue;
            this.UpdatedDate = DateTime.MinValue;
            this.Amount = 0;
            this.SettledAmount = 0;
            this.ReferenceCode = string.Empty;
            this.AccPosted = 0;
            this.SentToBroker = 0;
        }

        #endregion

        #region property

        public string ClientCode { get; set; }
        public DateTime AddedDate { get; set; }
        public DateTime UpdatedDate { get; set; }
        public double Amount { get; set; }
        public double SettledAmount { get; set; }
        public string ReferenceCode { get; set; }
        public int AccPosted { get; set; }
        public int SentToBroker { get; set; }

        #endregion
    }

    public class InitialSettlementCollection : Collection<InitialSettlement>
    {
        public InitialSettlementCollection()
        {
        }
    }
}
